/*
 * @Author: Camellia 12877962+onemuhan1012@user.noreply.gitee.com
<<<<<<< HEAD
 * @Date: 2024-05-20 09:09:37
 * @LastEditors: Camellia 12877962+onemuhan1012@user.noreply.gitee.com
 * @LastEditTime: 2024-05-20 11:34:08
 * @FilePath: \xtc-admin\src\api\user.js
=======
 * @Date: 2024-05-20 09:14:39
 * @LastEditors: Camellia 12877962+onemuhan1012@user.noreply.gitee.com
 * @LastEditTime: 2024-05-27 15:11:15
 * @FilePath: \xtc-student\src\api\user.js
>>>>>>> 7ecadc8962839be4c8f71425dd0a314dc19dc738
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { post } from '@/utils/request'

export default {
<<<<<<< HEAD
  getUserPageList: query => post('/admin/user/page/list', query),
  getUserEventPageList: query => post('/admin/user/event/page/list', query),
  createUser: query => post('/admin/user/edit', query),
  selectUser: id => post('/admin/user/select/' + id),
  getCurrentUser: () => post('/admin/user/current'),
  updateUser: query => post('/admin/user/update', query),
  changeStatus: id => post('/admin/user/changeStatus/' + id),
  deleteUser: id => post('/admin/user/delete/' + id),
  selectByUserName: query => post('/admin/user/selectByUserName', query)
=======
  createUser: query => post('/api/student/user/edit', query),
  getCurrentUser: () => post('/api/student/user/current'),
  getUserEvent: () => post('/api/student/user/log'),
  update: query => post('/api/student/user/update', query),
  messagePageList: query => post('/api/student/user/message/page', query),
  read: id => post('/api/student/user/message/read/' + id),
  getMessageCount: () => post('/api/student/user/message/unreadCount')
>>>>>>> 7ecadc8962839be4c8f71425dd0a314dc19dc738
}
